<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript">
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
//容错
// -->
</script>
<meta content="180" http-equiv="refresh">
<script>
<!--
function check(form){

	var flag=true;
	for(i=1;i<15;i++){
		eval("var temp_ckbox=form.ckbox"+i);
		if(temp_ckbox==undefined) break;
		if(temp_ckbox.checked){
			flag=false;
		}
	}
	if(flag){
		alert("错误提示：\n\n您没有选择任何管理员　");
		return false;
	}
	
  if (!confirm('确定要删除这些用户吗？　 '))
      return false;
}

function selectall(Obj){
	for(i=1;i<15;i++){
		eval("var temp_ckbox=document.myform.ckbox"+i);
		if(temp_ckbox==undefined) break;
		temp_ckbox.checked=Obj.checked
	}
}

function deleteuser(ids,names){
	if(!confirm('确定删除吗？'))
		;
	else
		window.location="deleuser.asp?id="+ids+"&amp;loginname="+names;
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<style type="text/css">
<!--
.selecss {
	background-color: #D9D9D7;
	width: 150px;
}
td{font-size:9pt;line-height:140%}
-->
</style>
<title>网站管理员</title>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
	<table height="100%" width="100%" cellspacing="0" cellpadding="0" border="0">
		<form name="myform" method="post" action="?"></form>
  			<tbody>
  				<tr>
      				<td height="100%" valign="top" align="center"> 
        				<table height="100" width="100%" cellspacing="1" cellpadding="5" border="0" bgcolor="#336600">
          					<tbody>
          						<tr> 
            						<td height="25" width="100%" bgcolor="#669900">
            							<strong><font color="#ffffff">网站管理员</font></strong>
            						</td>
          						</tr>
					          	<tr> 
					            	<td height="26" bgcolor="#f5f5f5"> 　 
					              		<input type="button" value="添加管理员" onclick="MM_openBrWindow('editUser.action','','toolbar=yes,status=yes,resizable=yes,width=500,height=350')" name="Submit22">
					              		<input type="submit" value="选择删除" name="Submit3">
					              		<input type="checkbox" onclick="selectall(this)" value="checkbox" id="allcheck" name="allcheck">全选
					              	</td>
					          	</tr>
          						<tr bgcolor="#ffffff"> 
            						<td align="center">
            							<table height="0%" width="98%" cellspacing="1" cellpadding="3" border="0">
                							<tbody>
                								<tr bgcolor="#669900"> 
							                  		<td height="30%" width="8%" align="center"><font color="#ffffff"><b>序号</b></font></td>
							                  		<td width="16%" align="center"><font color="#ffffff"><b>姓　名</b></font></td>
							                  		<td width="14%" bgcolor="#669900" align="center"><font color="#ffffff"><b>登陆账号</b></font></td>
							                  		<td width="40%" align="center"><font color="#ffffff"><b>权　限</b></font></td>
							                  		<td width="22%" align="center"><font color="#ffffff"><b>　</b></font></td>
                								</tr>
                
                								<tr bgcolor="#f9f9f9"> 
                  									<td height="35%" width="8%" align="center">1</td>
                  									<td height="35%" width="16%"> 
                    									<input type="checkbox" value="3" id="id" name="id">网站管理员
                    								</td>
                  									<td height="35%" width="14%" align="center">admin</td>
                  									<td width="40%">管理员管理, 数据库管理, 经营产品, 业务范围, 新闻动态, 疑难解答, 诚聘英才, 给我留言 </td>
                  									<td height="35%" width="22%" align="center">
                  										<img hspace="5" align="absmiddle" src="${pageContext.request.contextPath}/images/admin/delenews.gif"><a href="?id=3">删除</a> 
                    									<img hspace="5" align="absmiddle" src="${pageContext.request.contextPath}/images/admin/setuser.gif"><a onclick="MM_openBrWindow('editUser.action','','toolbar=yes,status=yes,resizable=yes,width=500,height=350')" href="javascript:;">修改</a> 
                  									</td>
                								</tr>
                
                								<tr bgcolor="#d9d9d7"> 
                  									<td height="35%" bgcolor="#669900" align="right" colspan="5">
                  										<font color="#ffffff">共有  1 位管理员　 分页：[<strong>1</strong>]</font>
                  									</td>
                								</tr>
              								</tbody>
              							</table>
              						</td>
          						</tr>
        					</tbody>
        				</table>
        			</td>
  				</tr>
  			</tbody>
  		</table>
 	</body>
</html>